<template>
  <div class="contain">
    <el-container>
      <el-aside>
        <div style="padding: 30px;font-size: 20px;">后台管理系统</div>
        <el-menu
            :default-active="activeMenu"
            class="el-menu-vertical-demo"
            router
        >
          <el-submenu index="/company">
            <template slot="title">
              <i class="el-icon-s-management"></i>
              <span>系统管理</span>
            </template>
            <el-menu-item index="/company">
              <i class="el-icon-office-building"></i>
              <span>公司管理</span>
            </el-menu-item>
            <el-menu-item index="/employee">
              <i class="el-icon-user"></i>
              <span>员工管理</span>
            </el-menu-item>
          </el-submenu>
        </el-menu>
      </el-aside>
      <el-container>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>

</template>

<script>
import Handler from './Home.js'

export default Handler
</script>

<style scoped lang="scss">
@import './Home.scss';
</style>
